<template>
  <div class="address-add">
    <div class="main" @click="addClick">
      <span> <slot name="title"></slot></span>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    addClick() {
      // console.log(1);
      this.$emit('addClick')
    },
  },
};
</script>

<style lang="scss" scoped>
.address-add {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  // height: 49px;
  display: flex;
  padding: 17px 0;
  justify-content: center;
  align-items: center;
  .main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 40px;
    color: #b4282d;
    border: 1px solid #b4282d;
  }
}
</style>